<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{% if object %}Edit Task {% else %} Create New Task {% endif %}</title>
</head>

<body>
  <h3>{% if object %}Edit Task {% else %} Create New Task {% endif %}</h3>
  <form action="" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    {{ form.as_p }}
    <p><input type="submit" class="btn btn-success" value="Submit"></p>
  </form>
</body>

</html>